import { get, post, put, del } from "../utils/requiest";
export const ProductCategoriesAPI = (params) =>
  get("/api/v1/admin/product_categories", params);
export const addAPI = (data) => post("/api/v1/admin/product_categories", data);
export const changeAPI = (id, data) =>
  put("/api/v1/admin/product_categories/" + id, data);
export const delAPI = (id) => del("/api/v1/admin/product_categories/" + id);
